package logic.events;

import vis.KeyPanel;

public class Column extends CipherEvent {

	int column, r1, r2, phase;
	boolean reverse;
	
	public Column(int column, int r1, int r2, int phase, boolean reverse) {
		this.column = column;
		this.r1 = r1;
		this.r2 = r2;
		this.reverse = reverse;
		this.phase = phase;
	}

	@Override
	public void display(KeyPanel panel) {
		panel.setVHighlight(column, r1, column, r2, reverse);
		panel.setPhase(phase);
	}

}
